package Test;
/**
 * @author Group77
 * @version 4.0
 * @description Test of modules grades
 */
import Entity.ModulesGrades;

import static org.junit.jupiter.api.Assertions.*;
class ModulesGradesTest {

    @org.junit.jupiter.api.Test
    void testSemester() {
        ModulesGrades modulegrades=new ModulesGrades(123,"1","Math","5","99","3");
        assertEquals(modulegrades.getStudentsNumber(),123);
    }

    @org.junit.jupiter.api.Test
    void testCredits() {
        ModulesGrades modulegrades=new ModulesGrades(123,"1","Math","5","99","3");
        assertEquals(modulegrades.getCredits(),Integer.toString(5));
    }

}